package day04;

public enum Rank {
    /** 3 */
    THREE,
    /** 4 */
    FOUR,
    /** 5 */
    FIVE,
    /** 6 */
    SIX,
    /** 7 */
    SEVEN,
    /** 8 */
    EIGHT,
    /** 9 */
    NINE,
    /** 10 */
    TEN,
    /** J */
    JAKE,
    /** Q */
    QUEEN,
    /** K */
    KING,
    /** A */
    ACE,
    /** 2 */
    DEUCE,
    /** 小王 */
    BLACK,
    /** 大王 */
    RED;

    private static final String[] names = {"3","4","5","6","7","8","9","10","J","Q","K","A","2","小王","大王"};
    @Override
    public String toString() {
        return names[ordinal()];
    }
}
